// MediaAidlInterface.aidl
package com.xqkad.myplayer;

// Declare any non-default types here with import statements

interface MediaAidlInterface {

    void open(in List infos, int position);
    void play();
    void pause();
    void next();
    void previous();
    void stop();

    void seek(int position);
    boolean isPlaying();
    int getCurrentPosition();
    int getDuration();
    int getPosition();
    String getTitle();
    String getMusicId();
    int getPlayMode();
    void setPlayMode(int mode);
}
